import { HttpException, HttpStatus } from '@nestjs/common';

/**
 * @description 自定义 HTTP 异常类，用于在应用中抛出带有自定义消息和状态码的 HTTP 异常。
 * @extends {HttpException}
 */
export class Class_HttpException_Base extends HttpException {
  constructor(message: string, statusCode: HttpStatus = HttpStatus.BAD_REQUEST) {
    super({ message: message, statusCode }, statusCode);
  }
}
